.share-type-container{
  position: relative;
  .mask{
    @include mask(0.4, 9);
  }
  .swiper-block{
    padding-bottom: calc(constant(safe-area-inset-bottom));
    padding-bottom: calc(env(safe-area-inset-bottom));
    bottom: 280rpx;
    left: 0;
    right: 0;
    display: none;
    position: fixed;
    z-index: 98;
  }
  canvas{
    top: 0;
    left: 200%;
    position: fixed;
  }
  .type-block{
    border-radius: 24rpx 24rpx 0 0;
    background-color: #fff;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 99;
    transition: transform 0.2s linear;
    transform: translateY(120%);
    padding-bottom: calc(constant(safe-area-inset-bottom));
    padding-bottom: calc(env(safe-area-inset-bottom));
  }
  .type-list{
    @include flex;
    @include a-center;
    padding: 0 20rpx;
    .type-item{
      @include sub-item;
      @include flex(column);
      @include center;
      font-size: 26rpx;
      height: 150rpx;
      position: relative;

      image{
        width: 70rpx;
        height: 70rpx;
        margin-bottom: 12rpx;
        display: block;
      }
    }
  }
  .cancel{
    font-size: 30rpx;
    line-height: 84rpx;
    text-align: center;
    border-top: 1px solid #f9f9f9;
  }

  &.active{
    .mask{
      display: block;
    }
    .type-block{
      transform: translateY(0);
    }
    .swiper-block{
      display: block;
    }
  }
}